const layout = {
    state: {
        display: false,
        title: "",
        type: ""
    },
    mutations: {
        SET_STATE(state, payload) {
            state.display = payload.display;
            state.title = payload.title;
            state.type = payload.type
        }
    },
    actions: {
        set_state({commit}, payload) {
            commit("SET_STATE", payload)
        }
    }
}

export default layout;